'use strict';
/**
 * model
 */
export default class extends think.model.base {

    //把修改的state 的人名改为1     
    /*    updateViewNums(state) {
            console.log('state', state);
            return this.where({
                state: state
            }).increment('name', 1); //将阅读数加 1
        }*/
    // 添加新用户
    getList() {
        let model = this.model('users_table');
        let datas = model.field('name,tel').select();
        return datas;
    }
}
